import Markdown from "../views/Markdown";
import Explorer from "../views/Explorer";
import Text from "../views/Text";
import Image from "../views/Image";
const routes = [
    {
        path: "/",
        name: "Home",
        redirect: '/explorer'
    },
    {
        path: "/explorer",
        name: "Explorer",
        component: () => Explorer,
        children:[
            {
                path: "/markdown",
                name: "Markdown",
                component: () => Markdown,
            },
            {
                path: "/text",
                name: "Text",
                component: () => Text,
            },
            {
                path: "/image",
                name: "Image",
                component: () => Image,
            },
        ]
    },
];

export default routes;
